#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "oscilloscopewidget.h"
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QDebug>


QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    void paintEvent(QPaintEvent *event) override;
    void resizeEvent(QResizeEvent* event) override;


private:
    Ui::MainWindow *ui;
    OscilloscopeWidget* widget;
    OscilloscopeWidget* widget1;
    QGraphicsView* view;
    QGraphicsScene* scene;
    QGraphicsWidget *wd;

};
#endif // MAINWINDOW_H
